class_name ItemBase
extends Resource


## 物品等级
enum UpgradeTier {
	COMMON,
	RARE,
	EPIC,
	LEGENDARY
}

## 物品类型
enum ItemType {
	WEAPON,
	UPGRADE,
	PASSIVE
}


@export var item_name: String
@export var item_icon: Texture2D
@export var item_tier: UpgradeTier
@export var item_type: ItemType
@export var item_cost: int


func description() -> String:
	return ""
